package com.kingyun.gpsinspection.purificationservice.common.enums;

/**
 * 任务状态枚举类
 * Created by jiangjx on 2017/2/7.
 */
public enum TaskStatusEnum {
    TASK_STATUS_ENUM_1(1, "处理中"),
    TASK_STATUS_ENUM_2(2, "执行中"),
    TASK_STATUS_ENUM_3(3, "已完成"),
    TASK_STATUS_ENUM_4(-1, "终止"),
    ;

    TaskStatusEnum(Integer code, String description) {
        this.code = code;
        this.decription = description;
    }

    private Integer code;
    private String decription;

    public Integer code() {
        return code;
    }

    public String description() {
        return decription;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getDecription() {
        return decription;
    }

    public void setDecription(String decription) {
        this.decription = decription;
    }
}
